home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update32.zoo / gemlib / diffs
Encoding:
Text File  |  1993-07-13  |  4.3 KB  |  113 lines

  1. ===================================================================
  2. RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/Changelog,v
  3. retrieving revision 1.23
  4. diff -c -r1.23 Changelog
  5. *** 1.23    1993/05/21 15:13:44
  6. --- Changelog    1993/07/13 20:21:37
  7. ***************
  8. *** 380,382 ****
  9. --- 380,395 ----
  10.   
  11.   
  12.   ------------------------------- Patchlevel 29 -------------------------------
  13. + aesbind.h, aesevnt.c:: Stefan Steyer (dc4i@br0.hrz.th-darmstadt.de)
  14. +     The problem is, that if you compile without -mshort, the '16 bit halfs'
  15. +     are passed as 32 bit values through the stack. If you define __OLD_WAY__
  16. +     you push 64 bit, and if not, only 32 bit. Every parameter you pushed
  17. +     to the stack before is not where it should be. 
  18. +     soln: #define evnt_multi when __OLD_WAY and have it push one long on
  19. +     the stack, which __evnt_multi will pick up.
  20. +     make __evnt_multi synonymous with event_multi in aesevnt.c.
  21. + ------------------------------- Patchlevel 30 -------------------------------
  22. ===================================================================
  23. RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/PatchLev.h,v
  24. retrieving revision 1.21
  25. diff -c -r1.21 PatchLev.h
  26. *** 1.21    1993/05/21 15:13:47
  27. --- PatchLev.h    1993/07/13 20:21:39
  28. ***************
  29. *** 1,4 ****
  30. ! #define PatchLevel "29"
  31.   
  32.   /*
  33.    *    the Patch Level above is to identify the version
  34. --- 1,4 ----
  35. ! #define PatchLevel "30"
  36.   
  37.   /*
  38.    *    the Patch Level above is to identify the version
  39. ===================================================================
  40. RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/aesbind.h,v
  41. retrieving revision 1.13
  42. diff -c -r1.13 aesbind.h
  43. *** 1.13    1993/03/29 03:31:15
  44. --- aesbind.h    1993/07/13 20:21:44
  45. ***************
  46. *** 28,42 ****
  47.   __EXTERN int    evnt_mesag __PROTO((int MesagBuf[]));
  48.   __EXTERN int    evnt_timer __PROTO((unsigned long Interval));
  49.   #ifdef __OLD_WAY__
  50. ! __EXTERN int    evnt_multi __PROTO((int Type, int Clicks, int WhichButton,
  51.                       int WhichState, int EnterExit1, int In1X,
  52.                       int In1Y, int In1W, int In1H,
  53.                       int EnterExit2, int In2X, int In2Y,
  54.                       int In2W, int In2H, int MesagBuf[],
  55. !                     unsigned int I1, unsigned int I2,
  56.                       int *OutX, int *OutY,
  57.                       int *ButtonState, int *KeyState, int *Key,
  58.                       int *ReturnCount));
  59.   #else
  60.   __EXTERN int    evnt_multi __PROTO((int Type, int Clicks, int WhichButton,
  61.                       int WhichState, int EnterExit1, int In1X,
  62. --- 28,52 ----
  63.   __EXTERN int    evnt_mesag __PROTO((int MesagBuf[]));
  64.   __EXTERN int    evnt_timer __PROTO((unsigned long Interval));
  65.   #ifdef __OLD_WAY__
  66. ! __EXTERN int    __evnt_multi __PROTO((int Type, int Clicks, int WhichButton,
  67.                       int WhichState, int EnterExit1, int In1X,
  68.                       int In1Y, int In1W, int In1H,
  69.                       int EnterExit2, int In2X, int In2Y,
  70.                       int In2W, int In2H, int MesagBuf[],
  71. !                     unsigned long Interval,
  72.                       int *OutX, int *OutY,
  73.                       int *ButtonState, int *KeyState, int *Key,
  74.                       int *ReturnCount));
  75. + #define evnt_multi(Type, Clicks, WhichButton,                                \
  76. +         WhichState, EnterExit1, In1X, In1Y, In1W, In1H,              \
  77. +         EnterExit2, In2X, In2Y, In2W, In2H, MesagBuf,                \
  78. +         I1, I2, OutX, OutY, ButtonState, KeyState, Key, ReturnCount) \
  79. +         __evnt_multi((Type), (Clicks), (WhichButton),                        \
  80. +         (WhichState), (EnterExit1), (In1X), (In1Y), (In1W), (In1H),  \
  81. +         (EnterExit2), (In2X), (In2Y), (In2W), (In2H), (MesagBuf),    \
  82. +         (((unsigned long)(I1)) << 16 | ((unsigned long)(I2))),
  83. +         (OutX), (OutY), (ButtonState), (KeyState), (Key), (ReturnCount))
  84.   #else
  85.   __EXTERN int    evnt_multi __PROTO((int Type, int Clicks, int WhichButton,
  86.                       int WhichState, int EnterExit1, int In1X,
  87. ===================================================================
  88. RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/aesevnt.c,v
  89. retrieving revision 1.8
  90. diff -c -r1.8 aesevnt.c
  91. *** 1.8    1991/09/06 02:10:31
  92. --- aesevnt.c    1993/07/13 20:21:48
  93. ***************
  94. *** 153,158 ****
  95. --- 153,164 ----
  96.   
  97.   #ifdef L_evnt_mul
  98.   
  99. + #ifdef __GNUC__
  100. + asm(".stabs \"___evnt_multi\",5,0,0,_evnt_multi"); /* dept of clean tricks */
  101. + #else
  102. +     /* foo */
  103. + #endif
  104.   /* wait for one of many events
  105.    *    Type    The types of Events to wait for
  106.    *        rest of the parameters analogus to ones defined above.
  107.